package com.yanqu.road.entity.log.travelBook;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

/**
 * @Author : Cxp
 * @Time : 2024-12-10
 * @Description : 旅行册无双卡牌选择门客日志
 */

@FieldTypeAnnotation(tableName = "t_l_travel_book_choose_patron", desc = "旅行册无双卡牌选择门客日志", autoSave = true, uploadCk = true)
public class LogTravelBookChoosePatron extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "卡牌ID")
    private int cardId;

    @FieldTypeAnnotation(desc = "门客ID")
    private int patronId;

    @FieldTypeAnnotation(desc = "选择时间")
    private long chooseTime;

    public LogTravelBookChoosePatron(long userId, int cardId, int patronId, long chooseTime) {
        this.userId = userId;
        this.cardId = cardId;
        this.patronId = patronId;
        this.chooseTime = chooseTime;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCardId() {
        return cardId;
    }

    public void setCardId(int cardId) {
        this.cardId = cardId;
    }

    public int getPatronId() {
        return patronId;
    }

    public void setPatronId(int patronId) {
        this.patronId = patronId;
    }

    public long getChooseTime() {
        return chooseTime;
    }

    public void setChooseTime(long chooseTime) {
        this.chooseTime = chooseTime;
    }
}
